package packing;

import java.io.Serializable;


public class Container extends BoxShape implements Serializable{
	 private static Container instance = null;

	public static Container getInstance(int w, int l, int h) {
		if (instance == null) {
			instance = new Container(w, l, h);
		}
		return instance;
	}
	public static  Container getInstance() {
		 if(instance == null) {
	         instance = new Container();
	      }
	      return instance;
   }
	public Container(int width, int length, int height) {
		super(width, length, height);

	}
	public Container() {
	
	}

	@Override
	public String toString() {
		return "Container : height=" + height + ", length=" + length
				+ ", width=" + width;
	}	
	
	public Box[][][] createContianner(int size){
		Box[][][] container = new Box[size][size][size];
		return container;
	}
	

}
